<ion-content padding>
    <div class="my-item">
        <label for="">手机号</label>
        <input type="text" pattern="/^\d{11}$/" name="phone" [(ngModel)]="userInfo.phone"/>
    </div>
    <div class="yzm">
        <div class="my-item has-yzm">
            <label for="">验证码</label>
            <input type="text" [(ngModel)]="userInfo.yzm"/>
        </div>
        <button ion-button class="yzm-btn" (click)="TofindPasswordCode()" *ngIf="!hasClick">{{hq}}</button>
        <button ion-button class="yzm-btn" disabled *ngIf="hasClick">{{num}}s</button>
    </div>
    <div class="my-item">
        <label for="">新密码</label>
        <input type="password" [(ngModel)]="userInfo.newPassWord"/>
    </div>
    <div class="my-item">
        <label for="">确认密码</label>
        <input type="password" [(ngModel)]="userInfo.rePassWord"/>
    </div>
    <p class="errorTip" *ngIf="errorTip">{{errorTipMsg}}</p>
    <div>
        <button class="btn btn1" ion-button (click)="goToHome()">取消</button>
        <button class="btn btn2" ion-button (click)="TofindPassword()">提交</button>
    </div>

</ion-content>
